<?php
/*------------------------------------------------------------------------
# JoomShaper Accordion Module by JoomShaper.com
# ------------------------------------------------------------------------
# author    JoomShaper http://www.joomshaper.com
# copyright Copyright (C) 2010 - 2011 JoomShaper.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.joomshaper.com - http://www.joomxpert.com
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$document = JFactory::getDocument();
$style 		= $params->get('style','style1');
$opacity 	= $params->get('opacity',1) ? "true" : "false";
$uniqid 	= $module->id;
$document->addStyleSheet(JURI::base() . 'modules/mod_sp_accordion/style/' . $style . '.css.php?uniqid='. $uniqid, 'text/css' );
// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');
$list = modSPAccordionHelper::getList($params);
require(JModuleHelper::getLayoutPath('mod_sp_accordion'));
?>
